﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebAppAsp_MiprimerPrograma
{
    public partial class triggers : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Timer1_Tick(object sender, EventArgs e)
        {
            Random r = new Random();
            lbAleatorio.Text = (r.Next(1, 300)).ToString();
        }

        protected void txtContenido_TextChanged(object sender, EventArgs e)
        {
            lbContenidotxt.Text = txtContenido.Text;
            txtContenido.Focus();
        }

        protected void cbLista_SelectedIndexChanged(object sender, EventArgs e)
        {
            lbSelecionado.Text = cbLista.SelectedValue;
        }
    }
}